#include "handler.h"

Handler::Handler(QObject *parent) : QObject(parent)
{

}

Handler *Handler::hand=new Handler;

Handler *Handler::getInstance()
{
    return hand;
}

void Handler::addScore()
{
    emit beatMouse();
}

void Handler::subtractScore()
{
    emit beatnoneMouse();
}

void Handler::setScore()
{
    emit returntozero();
}

void Handler::setTime()
{
    emit resettime();
}

void Handler::stopTime()
{
    emit stoptime();
}
